runtime.traceBufHeader.pos (field)
25 uses
runtime (current package)
trace.go#L233: pos int // next write offset in arr
trace.go#L448: if buf.ptr().pos != 0 {
trace.go#L455: if buf.ptr().pos != 0 {
trace.go#L623: return buf.ptr().arr[:buf.ptr().pos], false
trace.go#L795: if buf == nil || len(buf.arr)-buf.pos < maxSize {
trace.go#L817: startPos := buf.pos
trace.go#L823: lenp = &buf.arr[buf.pos-1]
trace.go#L836: evSize := buf.pos - startPos
trace.go#L1075: bufp.pos = 0
trace.go#L1129: if buf == nil || len(buf.arr)-buf.pos < size {
trace.go#L1141: if room := len(buf.arr) - buf.pos; room < slen+traceBytesPerNumber {
trace.go#L1146: buf.pos += copy(buf.arr[buf.pos:], s[:slen])
trace.go#L1154: pos := buf.pos
trace.go#L1161: buf.pos = pos
trace.go#L1182: buf.arr[buf.pos] = v
trace.go#L1183: buf.pos++
trace.go#L1306: if buf := bufp.ptr(); len(buf.arr)-buf.pos < maxSize {
trace.go#L1313: lenPos := buf.pos
trace.go#L1314: buf.pos += traceBytesPerNumber
trace.go#L1317: recPos := buf.pos
trace.go#L1328: buf.varintAt(lenPos, uint64(buf.pos-recPos))
trace.go#L1770: if room := len(buf.arr) - buf.pos; room < slen+traceBytesPerNumber {
trace.go#L1774: buf.pos += copy(buf.arr[buf.pos:], message[:slen])
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |